/*
 * @Author: wahaha 2781216298@qq.com
 * @Date: 2023-08-16 09:33:48
 * @LastEditors: wahaha 2781216298@qq.com
 * @LastEditTime: 2023-08-16 10:40:16
 * @FilePath: /vue-admin-template/src/api/reconciliation.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'

// 当前日/月销售量
export const getCurrentNumRequest = (params) => {
  return request({
    url: '/order-service/report/orderCount',
    method: 'get',
    params
  })
}

// 当前日/月销售额
export const getCurrentMoneyRequest = (params) => {
  return request({
    url: '/order-service/report/orderAmount',
    method: 'get',
    params
  })
}

// 当前日/月利润
export const getCurrentIncomeRequest = (params) => {
  return request({
    url: '/order-service/report/totalBill',
    method: 'get',
    params
  })
}

// 表格
export const getTableListRequest = (params) => {
  return request({
    url: '/order-service/report/partnerCollect',
    method: 'get',
    params
  })
}
